import App from './App'
import store from './store' // store
import uvUI from '@/uni_modules/uv-ui-tools'
// #ifdef H5
import Vconsole from 'vconsole'
let vConsole = new Vconsole();
// #endif
import {
	toast
} from '@/utils/common';

// 全局mixins;
import Mixin from './utils/mixins';

// #ifndef VUE3
import Vue from 'vue'

import VueCompositionAPI from '@vue/composition-api'
Vue.use(VueCompositionAPI)

import './uni.promisify.adaptor'
Vue.mixin(Mixin);
Vue.config.productionTip = false
Vue.prototype.$store = store
Vue.prototype.$toast = toast
App.mpType = 'app'
const app = new Vue({
	...App
})
Vue.use(uvUI);

// 引入请求封装，将app参数传递到配置中
require('./common/request.js')(app)

app.$mount()
// #endif